// Copyright (C) <2018> Zealcomm Inc.
//
// SPDX-License-Identifier: Apache-2.0
#ifndef IRTC_BASE_OBJC_IRTCNETWORK_H_
#define IRTC_BASE_OBJC_IRTCNETWORK_H_

#import <Foundation/Foundation.h>
#import <IRTC/IRTCMacros.h>
/// Define ICE candidate types.<br>定义ICE候选者的类型。
typedef NS_ENUM(NSUInteger, RTCIceCandidateType) {
  /// Host candidate.
  RTCIceCandidateTypeHost = 1,
  /// Server reflexive candidate.
  RTCIceCandidateTypeSrflx,
  /// Peer reflexive candidate.
  RTCIceCandidateTypePrflx,
  /// Relayed candidate.
  RTCIceCandidateTypeRelay,
  /// Unknown.<br>未知。
  RTCIceCandidateTypeUnknown = 99,
};
/// Defines transport protocol.<br>定义传输协议。
typedef NS_ENUM(NSUInteger, RTCTransportProtocolType) {
  /// TCP.
  RTCTransportProtocolTypeTcp = 1,
  /// UDP.
  RTCTransportProtocolTypeUdp,
  /// Unknown.<br>未知。
  RTCTransportProtocolTypeUnknown = 99,
};
#endif // IRTC_BASE_OBJC_IRTCNETWORK_H_